<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>商品购买 - 自行车</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f5f5f5;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        .container {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            padding: 30px;
            width: 100%;
            max-width: 500px;
        }

        h1 {
            color: #333;
            text-align: center;
            margin-bottom: 25px;
            font-size: 24px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #555;
        }

        input, select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
            box-sizing: border-box;
        }

        input:focus, select:focus {
            border-color: #4CAF50;
            outline: none;
            box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
        }

        .btn-submit {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 12px 20px;
            font-size: 16px;
            border-radius: 4px;
            cursor: pointer;
            width: 100%;
            transition: background-color 0.3s;
        }

        .btn-submit:hover {
            background-color: #45a049;
        }

        .product-image {
            text-align: center;
            margin-bottom: 20px;
        }

        .product-image img {
            max-width: 200px;
            height: auto;
            border-radius: 5px;
        }
    </style>
</head>

<body>
<div class="container">
    <div class="product-image">
        <img src="https://via.placeholder.com/200x150?text=自行车" alt="自行车">
    </div>

    <h1>自行车购买</h1>

    <form action="/create/order" method="get">
        <div class="form-group">
            <label for="productName">商品名称</label>
            <input type="text" id="productName" name="productName" value="自行车" readonly>
        </div>

        <div class="form-group">
            <label for="productId">商品ID</label>
            <input type="text" id="productId" name="productId" value="YD2451001" readonly>
        </div>

        <div class="form-group">
            <label for="productNum">购买数量</label>
            <input type="number" id="productNum" name="productNum" value="1" min="1">
        </div>

        <div class="form-group">
            <label for="orderMoney">订单金额 (元)</label>
            <input type="number" id="orderMoney" name="orderMoney" value="0.01" min="0.01" step="0.01">
        </div>

        <div class="form-group">
            <label for="payerId">购买人ID</label>
            <input type="text" id="payerId" name="payerId" value="KQ12345" required>
        </div>

        <div class="form-group">
            <label for="payerConcat">联系邮箱</label>
            <input type="email" id="payerConcat" name="payerConcat" value="lisi012@qq.com" required>
        </div>

        <div class="form-group">
            <label for="wayCode">支付方式</label>
            <select id="wayCode" name="wayCode">
                <option value="KUAIQIAN">快钱支付</option>
                <option value="WEIXIN">微信支付</option>
            </select>
        </div>

        <button type="submit" class="btn-submit">立即购买</button>
    </form>
</div>
</body>
</html>